x
Skip to main content

Audit Logging

Tier: Enterprise

Logs every operation, who ran it, what tool, which files, when. All data is stored in the database. We recommend external database setup when using this feature due to the potential volume. Please note the data stored is customisable based on you and your organisations needs and legal requirements.

Settings are under premium.enterpriseFeatures.audit.

SettingDefaultDescription
enabledtrueTurn audit logging on or off
level2Verbosity: 0 = off, 1 = basic, 2 = standard, 3 = verbose
retentionDays90Days to keep audit records before purging (0 = infinite retention)
captureFileHashfalseStore a SHA-256 hash of each processed file
capturePdfAuthorfalseExtract and store PDF author metadata
captureOperationResultsfalseStore operation return values - high volume, use sparingly

Audit levels

LevelWhat's recorded
0 - OFFNothing
1 - BASICFile modifications only - PDF operations (compress, split, merge, etc.) and settings changes
2 - STANDARDBASIC + user actions (login/logout, account changes, general GET requests)
3 - VERBOSESTANDARD + continuous polling calls and all GET requests

Example

premium:
enabled: true
key: your-enterprise-license-key
enterpriseFeatures:
audit:
enabled: true
level: 2
retentionDays: 365
captureFileHash: true
capturePdfAuthor: false
captureOperationResults: false

Note on performance: captureFileHash adds a SHA-256 calculation for every file processed - noticeable overhead at high volume. captureOperationResults stores full operation output in the database and can grow very large; only enable it when specifically needed.